import {Home} from "../../models/home";
const mixins = require('../../common/mixins/index')

Page({
    data: {},

    async onLoad(options) {
        await this.getProductInfo()
    },

    async getProductInfo() {
        const info = await Home.getProductDetail()
        this.setData({info})
    },

    onPreview(e) {
        mixins.onPreview(e)
    },
});
